// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.el-switch__label--left {
  position: relative;
  left: 44px;
  color: #fff;
  z-index: -1111;

  span {
      font-size: 12px !important;
  }
}

.el-switch__label--right {
  position: relative;
  right: 44px;
  color: #fff;

  span {
      font-size: 12px !important;
  }

  z-index: -1111;
}

.el-switch__label--right.is-active {
  z-index: 1111;
  font-size: 12px !important;
  color: #fff !important;
}

.el-switch__label--left.is-active {
  z-index: 1111;
  font-size: 12px !important;
  color: #9c9c9c !important;
}

.el-dialog__header {
  border-bottom: 1px solid #eee;
}